package com.app.mail.dao;

import com.app.mail.model.StoreMail;
import com.app.sysmodule.dao.BaseDao;
import com.app.sysmodule.exception.DBException;

import java.util.List;

/**
 * Created by song on 2018/1/31.
 */
public interface MailDao extends BaseDao<StoreMail>{
    /**
     * 修改是否发送状态
     * @param id
     * @param isSend
     */
    void updateIsSend(long id, long isSend) throws DBException;

    /**
     * 获取接收邮件人员
     * @return
     */
    List<String> getAllReceiver() throws DBException;
}
